package com.yl.auth.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.entity.Jigouzhongxinduanaccount;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author L
 * @since 2023-07-20
 */
public interface JigouzhongxinduanaccountService extends IService<Jigouzhongxinduanaccount> {


    Page<Jigouzhongxinduanaccount> findAllAndPage(Page<Jigouzhongxinduanaccount> page1);

    void saveAccount(Long id, List<Long> idList);

    List<Long> getRoleByAccount(Long id);

    void deleteByRoleId(Long id);

    String getRoleName(Long id);
}
